home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(this.hitTest(_root.Greenie1) == true)
- {
- tellTarget(_root.Greenie1)
- {
- gotoAndStop("Pop1");
- play();
- _root.score + 10;
- this._visible = false;
- }
- }
- else if(this.hitTest(_root.Greenie2) == true)
- {
- tellTarget(_root.Greenie2)
- {
- gotoAndStop("Pop2");
- play();
- this._visible = false;
- _root.score += 10;
- }
- }
- else if(this.hitTest(_root.Biter1) == true)
- {
- tellTarget(_root.Biter1)
- {
- gotoAndStop("Pop3");
- play();
- this._visible = false;
- _root.score += 10;
- }
- }
- else if(this.hitTest(_root.Biter2) == true)
- {
- tellTarget(_root.Biter2)
- {
- gotoAndStop("Pop4");
- play();
- this._visible = false;
- _root.score += 10;
- }
- }
- }
-